package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.exception.CheckGroupException;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;

import java.util.List;

/**
 * @author: libin
 * @date: 2019/11/20 21:08
 * @version: 1.0
 * @describe:
 */
public interface CheckGroupService {


    PageResult findAll(Integer currentPage, Integer pageSize, String queryString);

    void add(CheckGroup checkGroup);

    CheckGroup findById(Integer id);

    void edit(CheckGroup checkGroup);

    void delete(Integer id) throws CheckGroupException;

    List<CheckGroup> findAllCheckGroup();
}
